<?php /* Smarty version 2.6.18, created on 2012-05-03 13:56:03
         compiled from user/preference.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'pow', 'user/preference.tpl', 13, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>   
    <div id="vfriendContainer">
    	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "user/navigation.tpl", 'smarty_include_vars' => array('step' => 2)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        <div id="mainContent2R">
            <div class="vfriendContainer2R">
                <div class="vfriendContent2R">                	
                    <div class="circleBorder clearIt lFloat">
                        <div class="leftCol">
                            <div class="boxPreference">    
                            	<div class="headerTitle"><h3>Sở thích</h3></div>                    	
                                <div class="preferenceItem">
                                    <form id="frmPreference" name="frmPreference" method="post" action="<?php echo @HOST_VFRIEND; ?>
user/save" enctype="application/x-www-form-urlencoded">
                                        <input type="hidden" name="ptype" value="<?php echo smarty_function_pow(array('x' => 2,'y' => 1), $this);?>
" />
                                        <?php if ($this->_tpl_vars['arrMusic']): ?>
                                            <div class="preferenceItems">
                                                <h3>Âm nhạc</h3>
                                                <ul>
                                                    <?php $_from = $this->_tpl_vars['arrMusic']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
                                                        <li>
                                                            <input type="checkbox" name="pmusic[]" id="pmusic<?php echo $this->_tpl_vars['item']['id']; ?>
" value="<?php echo $this->_tpl_vars['item']['id']; ?>
">
                                                            <label for="pmusic<?php echo $this->_tpl_vars['item']['id']; ?>
"><?php echo $this->_tpl_vars['item']['name']; ?>
</label>
                                                        </li>
                                                    <?php endforeach; endif; unset($_from); ?>
                                                </ul>
                                            </div>
                                        <?php endif; ?>
                                        <?php if ($this->_tpl_vars['arrSport']): ?>
                                            <div class="preferenceItems">
                                                <h3>Thể thao</h3>
                                                <ul>
                                                    <?php $_from = $this->_tpl_vars['arrSport']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
                                                        <li>
                                                            <input type="checkbox" name="psport[]" id="psport<?php echo $this->_tpl_vars['item']['id']; ?>
" value="<?php echo $this->_tpl_vars['item']['id']; ?>
">
                                                            <label for="psport<?php echo $this->_tpl_vars['item']['id']; ?>
"><?php echo $this->_tpl_vars['item']['name']; ?>
</label>
                                                        </li>
                                                    <?php endforeach; endif; unset($_from); ?>
                                                </ul>
                                            </div>
                                        <?php endif; ?>
                                        <?php if ($this->_tpl_vars['arrOther']): ?>
                                            <div class="preferenceItems">
                                                <h3>Khác</h3>
                                                <ul>
                                                    <?php $_from = $this->_tpl_vars['arrOther']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
                                                        <li>
                                                            <input type="checkbox" name="pother[]" id="pother<?php echo $this->_tpl_vars['item']['id']; ?>
" value="<?php echo $this->_tpl_vars['item']['id']; ?>
">
                                                            <label for="pother<?php echo $this->_tpl_vars['item']['id']; ?>
"><?php echo $this->_tpl_vars['item']['name']; ?>
</label>
                                                        </li>
                                                    <?php endforeach; endif; unset($_from); ?>
                                                </ul>
                                            </div>
                                        <?php endif; ?>
                                        <div class="secAction">  
                                        	<input type="button" class="skip" onclick="document.location.href='<?php echo @LINK_USER_EDUCATION_WORKING; ?>
'" />
                                        	<input type="image" src="<?php echo @HOST_STATICS; ?>
img/btn/info-next.png" class="btn"/>                                        </div>
                                    </form>
                                </div>                          	
                            </div>
                        </div>
                    	<div class="rightCol">
                        	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "user/box-help.tpl", 'smarty_include_vars' => array('type' => 2)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                        </div>                    
                    </div>
               	</div>
            </div>
        </div>
    </div>
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>